package cn.edu.scnu.semart.vo.user;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class AdminResetPwdVo {
    @NotNull(message = "用户ID不能为空")
    private Integer userId;

    @NotBlank(message = "新密码不能为空")
    @Size(min = 1, max = 20, message = "密码长度1-20位")
    private String newPassword;
}
